<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

Route::get('/', function () {
    return view('welcome');
});

Route::group(['prefix'=>'notepadapi','namespace'=>'Api'],function (){
    Route::any('index','MemController@index') ;
    Route::any('getnote','MemController@getNote') ;
    Route::any('uploads','MemController@uploads') ;
    Route::any('updtportrait','MemController@updatePortait') ;
    Route::any('update','MemController@noteupdate') ;
    Route::any('del','MemController@notedel') ;
    Route::any('reg','MemController@reg');
    Route::any('login','MemController@login');
    Route::any('getuser','MemController@getUserInfo');
    Route::any('updtuser','MemController@updateUser');
    Route::any('changepass','MemController@changePass');
    Route::any('feedback','MemController@feedback');
    Route::any('get_V','MemController@getVersion');
    Route::any('mail','MemController@mail');
});
